<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// [ 应用入口文件 ]

//AG_1522006949520200801021509404699  /gong
//AG_1668020191020200801021513024165  /su

// 定义应用目录
define('APP_PATH', __DIR__ . '/../application/');

define('BIND_MODULE','index'); //默认模块

define('IS_TEST',true); //该变量不要删除，其他地方有调用
define('TEST_AGENT_ID','AG_1522006949520200801021509404699'); //
define('TEST_CUSTOMER_ID','Cus_20200730191232182493');//小店零售客户ID

define('REG_GOODS_ID','/^\d+$/'); //商品ID验证正则
define('REG_IDS','/^\d+(,\d+)*$/'); //验证 1  or 1,2
define('REG_PHONE','/^1\d{10}$/');

//收款账号类型
define('ACCOUNT_TYPE_WECHAT',1);
define('ACCOUNT_TYPE_ALIPAY',2);
define('ACCOUNT_TYPE_BANK',3);

//付款打款方式
define('PAYTYPE_XIANXIA',1);
define('PAYTYPE_WEIXIN',4);


// 加载框架引导文件
require __DIR__ . '/../thinkphp/start.php';
